package com.woniuxy.joylifeshop.vo;

import lombok.Data;

@Data
public class ResponseInformation {
    // 状态码
    private int state;
    // 失败时返回的错误消息
    private String msg;
    // 成功时返回的数据
    private Object data;
    // 成功时返回的数据2
    private Object data2;
    // 成功时返回的数据3
    private Object data3;

    public ResponseInformation() {
    }

    public ResponseInformation(int state, String msg, Object data) {
        this.state = state;
        this.msg = msg;
        this.data = data;
    }

    public ResponseInformation(int state, String msg, Object data, Object data2) {
        this.state = state;
        this.msg = msg;
        this.data = data;
        this.data2 = data2;
    }

    public ResponseInformation(int state, String msg, Object data, Object data2, Object data3) {
        this.state = state;
        this.msg = msg;
        this.data = data;
        this.data2 = data2;
        this.data3 = data3;
    }
}
